package com.wms.test;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wms.dataSource.dSource;
import com.wms.interfc.InterfaceDoRun;

@Service
public class CargoSvc implements InterfaceDoRun {
	
	@Resource
	private CargoDao dao;
	
	

	public void setDao(CargoDao dao) {
		this.dao = dao;
	}

	

	public String doRun(String content) throws Exception{
		
		dao.insertSku("miharuE");
		dao.insertSku("miharu1");
		
//		for(Cargo each : list){
//			System.out.println(each.getCargoid()+"\t\t"+each.getCargono()+"\t\t"+each.getCargoname());
//		}
		
		return null;
	}
	
	
	
}
